import { ModuleWithProviders, NgModule } from '@angular/core';
import { TASK_TODO_ROUTE_PROVIDERS } from './providers/route.provider';

@NgModule()
export class TaskTodoConfigModule {
  static forRoot(): ModuleWithProviders<TaskTodoConfigModule> {
    return {
      ngModule: TaskTodoConfigModule,
      providers: [TASK_TODO_ROUTE_PROVIDERS],
    };
  }
}
